import type { PropsWithChildren } from 'react';

import { LazyMotion, domMax } from 'motion/react';

const LazyAnimate = ({ children }: PropsWithChildren) => {
	return <LazyMotion features={domMax}>{children}</LazyMotion>;
};

export default LazyAnimate;
